Skip to main content

scope

Type

glossary

Description

The extent of places where a variable can be used.

A variable's scope can be either local, script local, or global. A local variable can be used only in the current handler. A script local variable can be used in any handler in a script, but can't be used in handlers that are in other scripts. A global variable can be used in any handler where it's declared.

glossary: variable, handler, global, script, local variable, declare, script local variable

Thank you for your feedback!

Was this page helpful?